package com.cloudkinto.dao;

import com.cloudkinto.entity.OrderAmazonDo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 * @author 张永远
 * @since 2020-06-02
 */
@Mapper
public interface OrderAmazonDao extends BaseMapper<OrderAmazonDo> {
    void updateOrderSendOut(String orderNo);

    int updateOrderUploadTrack(@Param("order") List<String> orderIds);

    List<String> queryByShopIdAndNoUploadExpress(Long shopId, String startDate, String endDate);


    List<String> selectLastAmazonDeleteOrder(String formatDate, String currentDateTimeFormat);

}
